import request from '@/utils/request'
// 添加存奶信息
export function addMilkInfo(data) {
  return request({
    url: '/milkInfo/addMilkInfo',
    method: 'post',
    data: data
  })
}
// 使用存奶
export function useMilk(data) {
  return request({
    url: '/milkInfo/useMilk',
    method: 'post',
    data: data
  })
}
// 删除存奶信息
export function deletedMilkInfo(data) {
  return request({
    url: '/milkInfo/deletedMilkInfo',
    method: 'post',
    data: data
  })
}
// 获取存奶列表
export function getMilkInfoList(data) {
  return request({
    url: '/milkInfo/getMilkInfoList',
    method: 'post',
    data: data
  })
}
// 获取存奶详情
export function getMilkInfoById(data) {
  return request({
    url: '/milkInfo/getMilkInfoById',
    method: 'get',
    data: data
  })
}
